例文
- All arithmetic is carried out on 16-bit signed fixed point numbers, while all offsets are limited to 13 bits.
- For instance, to compute 1.44 / 1, 200, 000, 000, divide the denominator by a billion, compute 1.44 / 1.2 = 1.2, then divide the result by a billion = 1.2e-9 . To simplify the math, better to divide by a power of 2, here 2 ^ 30 would be good, which would just be an arithmetic shift for fixed point numbers .-- talk ) 03 : 17, 31 August 2013 ( UTC)